@import 'base';

.product-all-commend-mian{
  //*****评论类型*****
  .comment-type{
    padding-left:15px;
    box-sizing: border-box;

    p{
      width: 100%;
      height:auto;
      padding:0 15px 12px 0;
      box-sizing: border-box;
      flex-wrap: wrap;

      span{
        background-color: #FFF3E1;
        width: auto;
        height: 24px;
        line-height: 24px;
        padding:0 8px;
        border-radius: 12px;
        margin:10px 8px 0 0;
      }

      .all-type{
        background: -webkit-linear-gradient(right,#FAAA8B,#F87676);
        color: #fff;
      }
    }
  }
  //*****评论类型*****

  //*****评论文字*****
  .commend-box{
    background-color: #fff;
    width: 100%;
    height:auto;
    padding:13px 15px 12px;
    box-sizing: border-box;

    .title{
      display: flex;
      width: 100%;
      height: 32px;

      img{
        width: 32px;
        height: 32px;
        border-radius: 50%;
      }

      .user-msg{
        width: calc(100% - 32px);
        padding-left: 8px;
        box-sizing: border-box;

        .star{
          right: 0;
          top: 50%;
          transform: translateY(-50%);
        }
      }
    }

    .comment-text{
      margin-top: 17px;
    }
    //*****评论文字*****

    //*****评论图片*****
    .comment-img{
      display: flex;
      justify-content: space-between;
      width: 100%;
      margin:12px 0px;

      span{
        width: calc(100% / 4 - 9px);

        img{
          width: 100%;
          height: 100%;
        }
      }
    }
    //*****评论图片*****

    .model{
      margin-top: 12px;
    }

    .time{
      margin-top: 2px;
    }
  }
}
